package reflection.generic;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PrintLog<T> {

	public static final Logger log = LoggerFactory.getLogger(PrintLog.class);

	protected T logContent;

	public void printLog(T logContent) {
		log.info("logContent:{}", logContent);
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
